package com.hopu.v1.service.admin.exam;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hopu.v1.pojo.exam.ExamQuestions;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author lihao
* @description 针对表【t_exam_questions(考试题目表，存储与考试相关的题目信息)】的数据库操作Service
* @createDate 2024-09-25 11:24:44
*/
@Service
public interface ExamQuestionsService extends IService<ExamQuestions> {
    /**
     * 增
     * @param examQuestions
     */
    void add(ExamQuestions examQuestions);

    void batchAdd(List<ExamQuestions> examQuestionsList);
    /**
     * 删除
     * @param id
     */
    void del(Integer id);

    /**
     * 改
     * @param examQuestions
     */
    void update(ExamQuestions examQuestions);

    /**
     * 查
     * @param page
     * @param examQuestions
     * @return
     */
    IPage<ExamQuestions> selectList(Page<ExamQuestions> page, ExamQuestions examQuestions, String endTime);
}
